
namespace ctsu.BaseForms
{

	public class SpecialLookup
	{
		private int _id;
		private string _fieldName = "";
		private string _gridName = "";
		private string _tableName;
		private string _whereClause = "";
		private string _displayField;
		private string _valueField;
		private string _orderField = "";
		private bool _insertBlank = false;

		public int ID
		{
			get { return _id; }
			set { _id = value; }
		}

		public bool InsertBlank
		{
			get { return _insertBlank; }
			set { _insertBlank = value; }
		}

		public string FieldName
		{
			get { return _fieldName; }
			set { _fieldName = value; }
		}

		public string GridName
		{
			get { return _gridName; }
			set { _gridName = value; }
		}
		public string TableName
		{
			get { return _tableName; }
			set { _tableName = value; }
		}
		public string WhereClause
		{
			get { return _whereClause; }
			set { _whereClause = value; }
		}
		public string DisplayField
		{
			get { return _displayField; }
			set { _displayField = value; }
		}
		public string ValueField
		{
			get { return _valueField; }
			set { _valueField = value; }
		}
		public string OrderField
		{
			get { return _orderField; }
			set { _orderField = value; }
		}

		public SpecialLookup()
		{

		}

		public override string ToString()
		{
			return _displayField;
		}
	}
}
